﻿<UserControl x:Class="WpfBitsControls.Statistics"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Loaded="UserControl_Loaded">
    <Grid>
        <StackPanel Orientation="Horizontal">
            <StackPanel Orientation="Vertical" Width="Auto">
                <Label Width="Auto" Height="23">Date and Time</Label>
                <Label Width="Auto" Height="23">Programmer</Label>
                <Label Width="Auto" Height="23">Comment</Label>
                <Label Width="Auto" Height="23">Exams</Label>
            </StackPanel>
            <StackPanel Orientation="Vertical" Width="Auto">
                <TextBox Width="200" Height="23" Text="{Binding Path=MyDateTime, Mode=OneWay}"      HorizontalAlignment="Left"></TextBox>
                <TextBox Width="200" Height="23" Text="{Binding Path=MyProgrammer, Mode=OneWay}"    HorizontalAlignment="Left"></TextBox>
                <TextBox Width="400" Height="23" Text="{Binding Path=Comment, Mode=TwoWay}"         HorizontalAlignment="Left"></TextBox>
                <StackPanel Orientation="Horizontal">
                    <StackPanel Orientation="Vertical">
                        <TreeView Name="treExams" Height="200" SelectedItemChanged="treExams_SelectedItemChanged" Width="400">
                    
                
                    </TreeView>
                  
                    </StackPanel>
                <StackPanel Orientation="Horizontal" >
                        <StackPanel Orientation="Vertical">
                            <Label Height="23" Name="label1" Width="120">Date Received</Label>
                            <Label Height="23" Name="label2" Width="120">Exam Mark</Label>
                        </StackPanel>
                        <StackPanel Orientation="Vertical" HorizontalAlignment="Left">
                            <TextBox Height="23" Name="txtDateReceived" Width="198" />
                            <TextBox Height="23" Name="txtExamMark" Width="120" HorizontalAlignment="Left" />
                            
                        </StackPanel>
                    </StackPanel>
            </StackPanel>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
